/**
 * @author: zxb
 * @date: 2024-08-06
 * @des : ai router
 * @router: /ai
 **/
const {DeepSeek} = require('../controller/ai.controller');

const Router = require('koa-router');
const { auth, hasAdminPermission } = require('../middleware/auth.middleware')
const router = new Router({ prefix: '/ai' });

router.post('/deepseek', auth, hasAdminPermission,DeepSeek);


module.exports = router; // 导出router